home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 20 / Cream of the Crop 20 (Terry Blount) (1996).iso / os2 / pms_104.zip / PMSTRIP.DOC < prev    next >
Text File  |  1996-07-03  |  14KB  |  357 lines

  1.  
  2. PMStripper 1.04
  3.   
  4.   
  5. I. Overview:
  6.   
  7.   
  8. This PM shareware utility strips HTML codes from Web pages, leaving
  9. only the text and URLs (optionally).  Some of the page's formatting
  10. is retained, but since PMStripper is not an HTML interpreter most
  11. formatting is lost.  While the layout of tables and lists is lost
  12. during stripping, data is sorted to separate lines for legibility.
  13.   
  14. PMStripper is designed to provide a quick conversion of HTML coded
  15. files into plain ASCII text.  Although the converted files can be
  16. edited while loaded in PMStripper, only simple edit commands are
  17. available.  Therefore, if extensive editing is needed, the text
  18. should be loaded into a more capable word processor or text editor.
  19.   
  20. The registered version offers a menu item to easily move stripped
  21. files to programs suited for advanced editing.
  22.  
  23. One convenient use of PMStripper is to quickly convert Web pages to
  24. text for spell checking without having to constantly click to accept
  25. (or add) HTML codes and links to the spelling dictionary.
  26.   
  27. PMStripper is a shareware program and if you continue to use the
  28. program you should register it.  PMStripper does not have any
  29. code to check on how long the program has been in use, so it is
  30. up to the user to determine a reasonable trial period.
  31.  
  32. The shareware version of PMStripper is fully functional, some of
  33. the convience features are disabled but they do not effect the
  34. function of the utility.  Trying the disabled features will bring
  35. up an unregistered message requiring a user response.
  36.  
  37.   
  38. II.  Installing PMStripper:
  39.   
  40.   
  41. 1) Unzip the archive.
  42.   
  43. 2) If REXX is installed:  Run the INSTALL.CMD script from an OS/2
  44. command prompt, or by double clicking on the install file's icon.
  45.         
  46. The script will create a destination directory and transfer program
  47. files to it.  Optionally, you may use the unzip directory as the
  48. working directory.  In either case the script will create a
  49. PMStripper program object on the desktop and set file associations
  50. for .HTM and .HTML files.  Setting associations this way allows
  51. instant loading, and stripping, of saved web pages by double clicking
  52. their icons.
  53.   
  54. If the install program cannot create the desired directory, just move
  55. all unzipped files to the working directory before running the
  56. install program.
  57.   
  58. 3) If REXX is not installed:  Unzip the archive in the desired
  59. working directory and manually:  a) Create a desktop program object,
  60. and b) Sets .HTM and HTML associations.  (See OS/2 documentation for
  61. instructions, if needed.)
  62.   
  63.   
  64. III.  Files
  65.   
  66.   
  67. PMStripper is distributed in the compressed archive PMS_xxx.zip,
  68. where xxx is the version number.  The archive contains these files:
  69.   
  70. NAME          SIZE       DESCRIPTION
  71.   
  72. FILE_ID.DIZ        434    File descrption for BBS use.
  73. INSTALL.CMD       2326    Install script.
  74. LICENSE.TXT       4661    License.
  75. ORDER.BMT         3708    BMT Micro order form
  76. PMSTRIP.DOC      13968    This file.
  77. PMSTRIP.EXE     367797    Program executable.
  78. PMSTRIPR.ICO       874    Program icon.
  79. PMSTRIPB.ICO       874    Program icon.
  80. TIPS              1125    Tips on using PMStripper
  81.   
  82.   
  83.   
  84. IV.  Uninstalling PMStripper:
  85.   
  86.   
  87. If you find it necessary to remove PMStripper, simply delete the
  88. unzipped files, program object, associations and directory.
  89. PMStripper makes no entries in configuration or initialization files.
  90.   
  91.   
  92.   
  93. V. Using PMStripper
  94.   
  95.   
  96. PMStripper is a simple program with only five menu bar items:
  97.   
  98. 1. 'File' offers three pull-down menu item:  'Open File', 'Save As'
  99. and 'Exit'.  Each perform in a standard OS/2 manner.
  100.   
  101. The 'Open File' selection can also be used to reload the HTML file if
  102. you make a change in the processing options.
  103.  
  104. If the INSTALL.CMD file is used to install PMStripper, the association
  105. for .htm and .html files has been set so you can also double click
  106. on the file icon and it will be loaded into PMStripper.
  107.  
  108. The utility will also load HTML coded files for stripping via drag
  109. and drop of the file's icon onto that of the PMStripper.  However,
  110. the capability to load files by drag and drop onto an open edit
  111. window does not exist.
  112.  
  113. Picking a file name for the 'Save As' is easy: Highlight some text
  114. for the name and then click on 'Save As', or simply highlight and 
  115. then press Alt+S.  If you have not highlighted text for the file
  116. name, the original file's name (with the extension .htm or .html
  117. replaced by .txt) is offered as the default.  The option to use
  118. highlighted text is only available in the registered version.
  119. The 'Save As' function now does a check for valid file names and
  120. for write access if the user is trying to overwrite an existing
  121. file.  A message box is displayed if one of these errors is detected.
  122.  
  123.   
  124. 2. 'Edit' has five sub-menu items which also operate as expected.
  125. They are 'Cut', 'Copy', 'Paste', 'Select All' and 'Undo Change'.  The
  126. 'Undo Change' selection will undo the last change made to the text in
  127. the window and is only one level deep.
  128.   
  129.   
  130. 3. 'Options' has five sub-menu items.  They are 'Display Options',
  131. 'URL Settings', 'External Editor Settings', 'Filename Settings' and
  132. 'Save Settings'.
  133.   
  134. 'Display Options' has two sub-menu items.  They are 'Font' and 'Word
  135. Wrap'.  'Font' brings up a standard OS/2 font dialog box and will
  136. allow the selection of any of the installed fonts.  'Word Wrap' is a
  137. toggle setting that turns word wrap on or off.  The wrap function
  138. does not actually reformat the text, instead it effects only the way
  139. text is displayed.
  140.   
  141. 'URL Settings' has two sub-menu items.  They are 'Add URLs' and
  142. 'Leave URLs'.  These options effect how the HTML file is processed
  143. and the file must be reloaded for these changes to effect current
  144. file.  'Add URLs' appends the URLs found in the HTML file to the end
  145. of the stripped text.  'Leave URLs' leaves the URLs found in the HTML
  146. file in the stripped text.
  147.   
  148. 'External Editor Settings' has two sub-menu items.  They are 'Use
  149. __TMP2__ File' and 'Use Clipboard'.  'Use __TMP2__ File' causes the
  150. temporary file __TMP2__ to be left in the current working directory
  151. for use by an external editor.  'Use Clipboard' causes the stripped
  152. file to be copied to the OS/2 clipboard when the user selects 'Exit
  153. to Word Processor'.  These option settings are only effective in the
  154. registered version.
  155.   
  156. 'Filename Settings' has four sub-menu items.  They are 'Replace Space
  157. with Underscore Character', 'Leave Space in Filename', 'Get Default
  158. Save Path, and 'Use Default Save Path'. The first two items are
  159. toggles and only one setting is active. They determine how the
  160. highlighted text is converted to a destination file name for the
  161. stripped HTML file.  These option settings are only effective in
  162. the registered version.  'Get Default Save Path' brings up a dialog
  163. box that allows the user to enter a destination path that is used
  164. when the stripped file is saved to disk. 'Use Default Save Path' is 
  165. toggle that enables the use of the default save path. This option is
  166. only active in the registered version.  
  167.   
  168. 'Save Settings' saves all of the option settings to an INI file named
  169. PMSTRIP.INI which is located in the current working directory.  The
  170. display options are not part of the saved settings and the utility
  171. reverts to word wrap on and the default font when loaded.
  172.  
  173. NOTE:  When PMStripper is activated by dropping the icon of a HTML
  174. file onto that of PMStripper, the location of the HTML file becomes
  175. the current working directory.  PMStripper will look for its INI file
  176. in that directory, and if not found will create a new file, with
  177. default settings, in the directory.  Upon shutting down PMStripper
  178. the newly created INI file will remain.  This is convenient for those
  179. who may want several INI files, each with different attributes,
  180. according to the location of the source HTML file.
  181.  
  182. 4. 'Exit' has two sub-menu items.  They are 'Exit' and 'Exit to Word
  183. Processor'.  'Exit' causes the stripped file to be discarded and
  184. PMStripper to close.  'Exit to Word Processor' causes the OS/2 CMD
  185. file PMS_CMD.CMD to be executed and PMStripper